package com.limou.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.limou.domain.ResponseResult;
import com.limou.domain.entity.Comment;

/**
 * 评论表(Comment)表服务接口
 *
 * @author makejava
 * @since 2025-01-10 21:30:05
 */
public interface CommentService extends IService<Comment> {
    /**
     * 查询评论
     * @param commentType 评论类型
     * @param articleId 文章id
     * @param pageNum
     * @param pageSize
     * @return
     */
    ResponseResult commentList(String commentType, Long articleId, Integer pageNum, Integer pageSize);

    /**
     * 发送评论
     * @param comment
     * @return
     */
    ResponseResult addComment(Comment comment);
}
